home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / src / dcpp / save / DMakefile.3 < prev    next >
Text File  |  1993-01-17  |  1KB  |  47 lines

  1.  
  2. #   DMakefile.3
  3. #
  4. # (c)Copyright 1992 Obvious Implementations Corp, All Rights Reserved
  5. # CONFIDENTIAL, This is unpublished proprietary source code owned by Obvious Implementations Corp.
  6. # This material contains trade secrets of Obvious Implementations Corp.
  7.  
  8. OD= dtmp:comp3/cpp/
  9. EXE= dcc:bin/amiga/bin3/dcpp
  10. PEXE= dcc:bin/amiga/binp/dcpp
  11. CFLAGS= -r -ms -mRR -I$(OD) -s -Isrc:comp/c1 -proto
  12. PROTOS= $(OD)protos.h
  13.  
  14. CCPSRCS= main.c sym.c include.c direct.c define.c cpp.c cexp.c subs.c precomp.c asubs.a
  15. CCPOBJS = $(CCPSRCS:"*.c":"$(OD)*.o") $(CCPSRCS:"*.a":"$(OD)*.o")
  16. PCCPOBJS = $(CCPSRCS:"*.c":"$(OD)p_*.o") $(CCPSRCS:"*.a":"$(OD)p_*.o")
  17.  
  18. all: $(OD) $(PROTOS) $(EXE)
  19.  
  20. prof: $(PROTOS) $(PEXE)
  21.  
  22. $(EXE) : $(CCPOBJS)
  23.     xc_dcc %(right) -o %(left) $(CFLAGS)
  24.  
  25. $(CCPOBJS) : $(CCPSRCS)
  26.     xc_dcc %(right) -o %(left) -c $(CFLAGS)
  27.  
  28. $(PEXE) : $(PCCPOBJS)
  29.     xc_dcc %(right) -o %(left) $(CFLAGS) -prof3
  30.  
  31. $(PCCPOBJS) : $(CCPSRCS)
  32.     xc_dcc %(right) -o %(left) -c $(CFLAGS) -prof3
  33.  
  34. $(PROTOS) : $(CCPSRCS)
  35.     -delete %(left)
  36.     xc_makeproto -o%(left) %(right)
  37.  
  38. clean:
  39.     -delete $(CCPOBJS)
  40.     -delete $(PCCPOBJS)
  41.  
  42. cleanprof:
  43.     -delete $(PCCPOBJS)
  44.  
  45. $(OD) : $(OD)
  46.     makedir %(left:*/:*)
  47.